<?php
	include dirname(dirname(__FILE__))."/s_user-manage/s_user-verify.php";
	include dirname(__FILE__).'/functions.php';
	if(isset($_POST['submited'])&&$_POST['submited']==1) {
		$result=addslashes($_POST['result']);
		$s_user_id=$_SESSION['s_user_id'];
		$create_time=date("Y-m-d H:i:s");
		$params=array('apply_time' =>'"'.$result.'"' ,
						'create_time'=>'"'.$create_time.'"',
						's_user_id'=>$s_user_id );
	     if(addEmployApply($params)){
	     	

	     	
	     		alertInfo("申请成功，等待审核",getHost()."/front-show/employ/index.php");

	     	

	     }else{
	     	alertInfo("申请失败，等待审核",getHost()."/front-show/employ/index.php");

	     }

		
		}



?>